﻿<%@ Page Title="Tagesmenü" Language="C#" MasterPageFile="~/mpEShop.master" AutoEventWireup="true"
    CodeFile="WeeklyMenu.aspx.cs" Inherits="WeeklyMenu" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script language="javascript" type="text/javascript">
        function Order(day) {
            window.open('order.aspx?DayOfWeek='+day, '_self', "", true);
        }

    </script>
    <center>
        <br />
        <br />
        <table width="90%">
            <tr>
                <td>
                    <div class="boxBorder" style="width: 100%">
                        <div class="weeklyMenu_TitleDiv">
                            <center>
                                <span class="weeklyMenu_Title">Tages Menü</span></center>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <center>
                        <div class="weeklyMenu_Div" onclick="Order(1);" >
                            <span class="weeklyMenu_Day">Montag</span><br />
                            <span id="spnDay1" runat="server" class="weeklyMenu_Menu"></span>
                        </div>
                        <div class="weeklyMenu_Div" onclick="Order(2);" >
                            <span class="weeklyMenu_Day">Dienstag</span><br />
                            <span id="spnDay2" runat="server" class="weeklyMenu_Menu"></span>
                        </div>
                        <div class="weeklyMenu_Div" onclick="Order(3);" >
                            <span class="weeklyMenu_Day">Mittwoch</span><br />
                            <span id="spnDay3" runat="server" class="weeklyMenu_Menu"></span>
                        </div>
                        <div class="weeklyMenu_Div" onclick="Order(4);" >
                            <span class="weeklyMenu_Day">Donnerstag</span><br />
                            <span id="spnDay4" runat="server" class="weeklyMenu_Menu"></span>
                        </div>
                        <div class="weeklyMenu_Div" onclick="Order(5);" >
                            <span class="weeklyMenu_Day">Freitag</span><br />
                            <span id="spnDay5" runat="server" class="weeklyMenu_Menu"></span>
                        </div>
                        <div class="weeklyMenu_Div" onclick="Order(6);" >
                            <span class="weeklyMenu_Day">Samstag</span><br />
                            <span id="spnDay6" runat="server" class="weeklyMenu_Menu"></span>
                        </div>
                        <div class="weeklyMenu_Div" onclick="Order(7);" >
                            <span class="weeklyMenu_Day">Sonntag</span><br />
                            <span id="spnDay7" runat="server" class="weeklyMenu_Menu"></span>
                        </div>
                    </center>
                </td>
            </tr>
        </table>
        <br />
        <br />
    </center>
</asp:Content>
